namespace DingHeng.TransportationManagement.Entity
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("VehicleRegister")]
    public partial class VehicleRegister
    {
        public Guid ID { get; set; }

        public Guid? VehicleID { get; set; }

        public int? WorkYear { get; set; }

        public int? WorkMonth { get; set; }

        [StringLength(16)]
        public string Code { get; set; }

        public bool? IsActive { get; set; }

        [StringLength(8)]
        public string CreateBy { get; set; }

        public DateTime? CreateDate { get; set; }

        [StringLength(8)]
        public string UpdateBy { get; set; }

        public DateTime? UpdateDate { get; set; }

        public virtual Vehicle Vehicle { get; set; }
    }
}
